package main;

import hash.ChainedHashTable;
import wrapper.Chr;
import wrapper.Dbl;
import wrapper.Int;
import wrapper.Str;

public class Teste {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		ChainedHashTable hashTable = new ChainedHashTable(15);
		System.out.println("value: intValue%length=hash");
		hashTable.insert(new Int(1));
		hashTable.insert(new Int(7));
		hashTable.insert(new Int(3));
		hashTable.insert(new Int(4));
		hashTable.insert(new Int(17));
		hashTable.insert(new Int(21));
		hashTable.insert(new Int(18));
		hashTable.insert(new Int(100));
		hashTable.insert(new Chr('a'));
		hashTable.insert(new Dbl(1.3));
		hashTable.insert(new Str("teste"));
		hashTable.printHashTable();
	}

}
